package com.emergency.embackend.utils;

import java.util.List;

/**
 * @author chddd
 * @description 用于计算推荐的权重
 * @create 2024/4/1 16:50:41
 */
public class RecommendUtils{
    public static double getWiKiScore(Long likeCount,Long collectCount,Long viewCount){
        return  likeCount*0.4+collectCount*0.4+viewCount*0.2;
    }

    public static <T> List getRecommendData(Class<T> clazz,Long userId){
        return null;
    }

}
